package com.example.dormlist.entity;

import lombok.*;
import org.hibernate.Hibernate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.util.Objects;

@Getter
@Setter
@NoArgsConstructor
@Entity
@Table(name = "check_out")
public class CheckOut {
    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "uid")
    private Long uid;

    @Column(name = "room_id")
    private Long roomId;

    @Column(name = "check_out_time")
    private Date checkOutTime;

    @Column(name = "operator")
    private String operator;

}
